<?php
define('SCR','index');
unset($_GET,$_POST,$_REQUEST);
require_once('global.php');
require_once(R_P . 'require/init.php');
require_once(R_P.'require/class_cms.php');
$cms = new Cms();

/*
$children = array();
foreach ($catedb as $key => $category)
{
	$children[$key]=array();
	foreach ($catedb as $c){
		$c['up']==$key && $children[$key][]=$c['cid'];
	}
}
$root = $db->query("SELECT * FROM cms_category WHERE depth=1 ORDER BY taxis DESC");
*/

$user_top = $db->get_array('SELECT postnum,username FROM cms_user ORDER BY monthpost DESC LIMIT 10');

start();
require Template();
footer();
?>